<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
</head>
<body>
<h1>修改用户</h1>
<div th:text="${message}"></div>
<form action="/user/update" method="POST">
    <div>
        编号: <input type="text" name="id" th:value="${user.id}" readonly>
    </div>
    <div>
        邮箱: <input type="text" name="email" th:value="${user.email}">
    </div>
    <div>
        密码: <input type="password" name="password" th:value="${user.password}">
    </div>
    <div>
        确认密码: <input type="password" name="confirm" th:value="${user.password}">
    </div>
    <div>
        <button type="submit">确定</button>
    </div>
</form>
</body>
</html>